Erreur MySQL : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'organisations de producteurs nationale raisin de table' AND IFNULL(a.temp, 0) = ' at line 3
Requête originale : SELECT a.image, a.type, a.parent, b.* FROM wagaia_pages a
LEFT JOIN wagaia_pages_data b ON a.id = b.page_id
WHERE b.nav_url='Association d'organisations de producteurs nationale raisin de table' AND IFNULL(a.temp, 0) = 0 AND b.lg = 'fr'
#0 Wagaia\Database->error(SELECT a.image, a.type, a.parent, b.* FROM wagaia_pages a
LEFT JOIN wagaia_pages_data b ON a.id = b.page_id
WHERE b.nav_url='Association d'organisations de producteurs nationale raisin de table' AND IFNULL(a.temp, 0) = 0 AND b.lg = 'fr', ) called at [/home/fruitslerc/www/Wagaia/Classes/Database.php:240]
#1 Wagaia\Database->query(SELECT a.image, a.type, a.parent, b.* FROM wagaia_pages a
LEFT JOIN wagaia_pages_data b ON a.id = b.page_id
WHERE b.nav_url='Association d'organisations de producteurs nationale raisin de table' AND IFNULL(a.temp, 0) = 0 AND b.lg = 'fr') called at [/home/fruitslerc/www/Wagaia/Classes/Database.php:213]
#2 Wagaia\Database->pushArray() called at [/home/fruitslerc/www/Wagaia/Classes/Database.php:197]
#3 Wagaia\Database->select(SELECT a.image, a.type, a.parent, b.* FROM wagaia_pages a
LEFT JOIN wagaia_pages_data b ON a.id = b.page_id
WHERE b.nav_url='Association d'organisations de producteurs nationale raisin de table' AND IFNULL(a.temp, 0) = 0 AND b.lg = 'fr') called at [/home/fruitslerc/www/Wagaia/Classes/Database.php:251]
#4 Wagaia\Database->get(SELECT a.image, a.type, a.parent, b.* FROM wagaia_pages a
LEFT JOIN wagaia_pages_data b ON a.id = b.page_id
WHERE b.nav_url='Association d'organisations de producteurs nationale raisin de table' AND IFNULL(a.temp, 0) = 0 AND b.lg = 'fr') called at [/home/fruitslerc/www/Wagaia/config/queries.php:47]
#5 require(/home/fruitslerc/www/Wagaia/config/queries.php) called at [/home/fruitslerc/www/index.php:4]